Use PEShowPrintControls to display the print controls (First, Previous, Next, and Last Page buttons as well as the buttons for Cancel, Close, Export, and Print to Printer). Use this call any time you want to provide control over whether print controls are displayed or not.
BOOL CRPE_API PEShowPrintControls (
short printJob,
BOOL showPrintControls );
Print controls are displayed by default. It is not necessary to use this function simply to display controls but only if you want the user to control whether or not the controls are visible.
Declare Function PEShowPrintControls Lib "crpe32.dll" (
ByVal printJob As Integer, ByVal ShowPrintControls As Integer ) As Integer
function PEShowPrintControls (
printJob: Word;
showPrintControls: Bool
): Bool stdcall;
EXTERN CLOGICAL PEShowPrintControls (CWORD, CLOGICAL) CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |